package di.scanner.callback;

import di.scanner.analyzer.ClassDenpencyAnalyzer;
import di.scanner.analyzer.ModelAnalyzer;
import di.scanner.executor.ThreadPool;

public class FileStoreCallback implements Callback {

    @Override
    public void callback() {
        ThreadPool.getInstance().getThreadPool(ThreadPool.FILE_CONSUMER_POOL).shutdown();
        System.out.println("file consumer pool is shutting down.... ");
        new ModelAnalyzer().analysis();
    }

}
